<?php
namespace app\admin\model;
use think\Model;
class Web extends Model
{
    public function saveWeb($web_info)
    {
        $web = new Web;
        $list = [
            'domain_name' => $web_info['domain_name'],
            'ip' => $web_info['ip'],
            'change_time' => time()
        ];
        $result = $web->save($list,['id'=>'1']);
        return $result;
    }
}